of
Creates a new PaperSize
setting.
Parameters
width
the width of the paper
height
the height of the paper
unit
the width
and height
measurement unit
Throws
if width
or height
is negative
Creates a new PaperSize
setting.
Parameters
width
the width of the paper
height
the height of the paper
unit
the width
and height
measurement unit
name
the name of the paper size
Throws
if width
or height
is negative, or if name
is empty or blank